package com.springboot2.security.mappers.resource;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.springboot2.security.entity.po.WebResource;

import java.util.List;

public interface WebResourceDao extends BaseMapper<WebResource> {

    /**
     * 查询资源list并返回有哪些角色可访问该资源
     */
    List<WebResource> selectResources();

}